<?php 
$sql =	"SELECT
			  t.cover,
			  d.title,
			  d.description,
			  d.meta_description	
		  FROM
			  team AS t,
			  team_description AS d
		  WHERE
		  
			  t.team_id = d.team_id
			  AND
			  d.lang_id = '".$_SESSION['lang_id']."'
			  AND
			  t.team_id = '".$sef_url."'
		  ";
		  
		  
$result = query($sql);
$row = mysql_fetch_object($result);

head(sth($row->title),sth($row->meta_description),'','testimonials');
?>
    <section id="content" class="cf">
        
        
        
         <div class="gr1 left">
         <a href="<?=HTML_BASE.$_SESSION['lang']?>/<?=$_GET['prm1']?>" >
            <img src="<?=HTML_BASE?>team_images/covers/<?=$row->cover?>" alt="<?=$row->title?>" title="<?=$row->title?>"/>
        </a>
            <h1><?=$row->title?></h1>
           
        </div>
        
        <div class="gr3 right">
         <?=$row->description?>
           <?php /* <ul id="slider">
            	<?php 
				$sql_c = "SELECT
                     c.cover,
                     d.title,
					(SELECT sef_url FROM sef_url WHERE 
					 lang_id = '".$_SESSION['lang_id']."' 
					 AND query =  c.project_id 
					 AND tamplate = 'project' ) AS sef_url
                    
                FROM
                    projects AS c,
                    project_description AS d,
					team_to_project AS t2p
                WHERE
                	t2p.team_id = '".$sef_url."'
					
					AND 
					
					t2p.project_id =  c.project_id
					
					AND
                    
					c.project_id = d.project_id
                    
                    AND
                    
                    d.lang_id = '".$_SESSION['lang_id']."'
                    
                    AND
                    
					c.published
                    
                    ORDER BY c.order_number DESC
                    
                  ";
				  
				
			$result = query($sql_c);
			
			while ($rw = mysql_fetch_object($result)) {

				
            ?>
            <li>
                <a href="<?=HTML_BASE.$_SESSION['lang']?>/<?=$rw->sef_url?>" class="<?=$rw->class?>">
                    <img src="<?=HTML_BASE?>project_images/big/<?=$rw->cover?>" alt="<?=$rw->title?>" title="<?=$rw->title?>"/>
                </a>
            </li>
            <?php } ?>
            
            </ul>*/ ?>
       
        </div>
        
        
       
        
    </section>



		
		
<?php
foot();
?>